package com.epsilon.pos.principal.context.providers;

import com.epsilon.commons.context.dao.CommonsContextDao;
import com.epsilon.pos.principal.bd.SesionBD;
import com.epsilon.pos.principal.context.dao.PosCommonsContextDaoImpl;

public class ContextPrincipalDaoProvider {
	private ContextPrincipalDaoProvider() {
	}

	private static final CommonsContextDao	commonsContextDao;

	static {
		commonsContextDao = new PosCommonsContextDaoImpl( SesionBD.getSqlSessionFactory() );
	}

	public static CommonsContextDao getCommonscontextdao() {
		return commonsContextDao;
	}
}